﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CLab.BusinessEntity;

namespace CLab.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "EstudioService" in code, svc and config file together.
    public class EstudioService : IEstudioService
    {
        public int RegistraEstudio(Estudio est)
        {
            return new CLab.BusinessComponent.EstudioService().RegistraEstudio(est);
        }

        public void EliminaEstudio(Estudio est)
        {
            new CLab.BusinessComponent.EstudioService().EliminaEstudio(est);
        }

        public int RegistraCampo(Campo obj)
        {
            return new CLab.BusinessComponent.EstudioService().RegistraCampo(obj);
        }

        public void EliminaCampo(Campo obj)
        {
            new CLab.BusinessComponent.EstudioService().EliminaCampo(obj);
        }
    }
}
